<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="com.bci.pwtz.common.util.PwtzUtils"%>
<%@page import="com.bci.pwtz.mysql.model.ProductionInfo"%>
<%@page import="com.bci.pwtz.service.ProductionService"%>
<%@page import="com.bci.pwtz.service.ProductionInfoService"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/admin/common.jsp"%>
<%
	int id =Integer.parseInt( request.getParameter("id"));
    ProductionInfoService service1 = (ProductionInfoService) SpringUtil.getBean("productionInfoService");
    ProductionService service2= (ProductionService)SpringUtil.getBean("productionService");
      ProductionInfo pd = service1.load(id);
      String pdtype= service2.load(pd.getType()).getName();
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<%=basePath%>admin/css/style.css" rel="stylesheet"
	type="text/css" />
<link href="<%=basePath%>admin/css/llcss.css" rel="stylesheet"
	type="text/css" />
<script type="text/javascript"
	src="<%=basePath%>js/jquery/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=basePath%>admin/js/common.js"></script>
<script type="text/javascript"
	src="<%=basePath%>js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="<%=basePath%>admin/js/hd_ll.js"></script>
<script type="text/javascript"
	src="<%=basePath%>admin/web/production/js/addproduction.js"></script>
<script type="text/javascript">
	
</script>
<title>产品详情</title>
</head>
<body bgcolor="white">
	<%@ include file="/admin/head.jsp"%>
	<!-- main_begin -->
	<div class="pwsj_cont_box">
		<%@ include file="/admin/left.jsp"%>
		<form id="form">
			<div class="pwsj_cont_right_box" scroll="no">
				<div class="pwsj_right_byq" scroll="no">
					<div class="pwsj_right_byq_position" style="margin-bottom: 3px;">
						<a href="<%=basePath%>admin/index.jsp" class="position">门户管理</a>&gt;
						<a  class="position">产品详情</a> <a class="right"
							href="<%=basePath%>admin/web/production/productionlist.jsp">返回</a>
					</div>
					<!-- 运行参数_begin -->
					<div class="argument_box">
						<!-- 参数标题-begin -->
						<div class="argument_title">
							<p class="title">产品参数</p>
							<a  class="show"></a>
							<div class="clear"></div>
						</div>
						<!-- 参数标题-end -->
						<!-- 参数内容_begin -->
						<div class="argument_cont_box">
							<ul class="argument_cont_ul">
								<li class="argument_cont_li"><span>系统：</span><%=pd.getSystem()%></li>
								<li class="argument_cont_li"><span>产品类型：</span> <%=pdtype%>
								</li>

								<li class="argument_cont_li"><span>版本：</span><%=pd.getVersion()%></li>
								<div class="clear"></div>
							</ul>

							<ul class="argument_cont_ul">
								<li class="argument_cont_li"><span>大小：</span><%=pd.getSize() == null ? "" : pd.getSize()%></li>
								<li class="argument_cont_li"><span>语言：</span><%=pd.getLanguage() == null ? "" : pd.getLanguage()%></li>
								<li class="argument_cont_li" style="position: relative;"><span>更新日期：</span><%=PwtzUtils.date2String(pd.getUpdatetime())%></li>
								<div class="clear"></div>
							</ul>
							<div class="argument_cont_box"
								style="border-bottom: 1px solid #dedede;">
								<div class="kzsx_cont_leftbox" style="width: 33%">
									<div class="downloadurl">
										下载地址：<br>
										<p style="font-weight: normal;width: 85%;" class="download_cont">
											<%=pd.getDownloadurl() == null ? "" : pd.getDownloadurl()%></p>
									</div>
								</div>

								<div class="kzsx_cont_rightbox" style="float: left;margin-left: 10px;">
									<div class="right_title" >
										更新说明：<br>
										<p style="font-weight: normal;"><%=pd.getUpdatedesc() == null ? "" : pd.getUpdatedesc()%></p>
									</div>
								</div>
								<div class="clear"></div>
							</div>

						</div>


						<!-- 参数内容_end -->
					</div>
					<!-- 运行参数_end -->


				</div>

			</div>



		</form>
		<div class="clear"></div>
		<!-- 清除左右浮动 -->
	</div>
	<%@ include file="/admin/foot.jsp"%>
</body>

</html>